package com.bdqn.tsyyds.service.Admin;

import com.bdqn.tsyyds.entity.Admin;
import com.bdqn.tsyyds.repository.AdminRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class AdminServicelmp implements AdminService {
    @Resource
    AdminRepository userRepository;

    @Override
    public List<Admin> finall() {
        return userRepository.findAll();
    }
}
